package com.example.demo.model;

import lombok.Data;

import java.util.Date;
@Data
public class Article {
    private Long id;

    private Long boardId;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte state;

    private Byte deleteState=0;

    private Date createTime;

    private Date updateTime;

    private String content;

    //是否是作者
    private Boolean own=false;

    // 关联作者
    private User user;
    // 关联板块
    private Board board;


}